package com.mt.components.log {
	import flash.utils.getQualifiedClassName;

	/**      
	 * 文件名称：LogFactory<br>
	 * 文件描述：<br>
	 * 创建人：马腾<br>
	 * 创建时间：Nov 24, 2012 11:01:26 PM<br>
	 * 修改人：马腾<br>
	 * 修改时间：Nov 24, 2012 11:01:26 PM<br>
	 */
	public class LogFactory {
		
		public static function getLogger(c:Class):Logger{
			var category:String = getQualifiedClassName(c).replace("::",".");
			var logger:MLogger = new MLogger();
			logger.pack = category;
			return logger;
		}
		
	}
}